package com.example.warehousems.dao;

import com.example.warehousems.dao.model.Branch;
import com.example.warehousems.dao.model.Cargo;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;
import java.util.Optional;

public interface CargoRepository extends JpaRepository<Cargo, Integer> {
    Optional<Cargo> findById(Integer id);
}
